We have configure the password on the vty line but when we telnet from pc the router is not prompting for the
password.

Troubleshoot the issue so the router should ask for the password before allowing telnet connection.